package com.fp.m7.dao;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.fp.m7.model.EntityBase;

@Transactional
public interface BaseDao<T extends EntityBase> {

	T getById(Long id);

	List<T> listAll();

	T persist(T object);

	T merge(T object);

	void remove(T object);

}